<#macro combobox field>  
	{
		xtype : 'combo',
		fieldLabel : '${field.fieldLabel!}'
	<#if (field.displayField?if_exists!="") >
		,displayField : '${field.displayField }'
		,name : '${field.displayField}'
	<#else>
		,displayField : '${field.name}_displayField_text'
		,name : '${field.name}_displayField_text'
	</#if>
	<#if (field.minLength??&&field.minLength > 0) >
		,minLength : ${field.minLength}
	</#if>
	<#if (field.maxLength??&&field.maxLength > 0) >
		,maxLength : ${field.maxLength}
	</#if>
	<#if (field.height??&&field.height > 0) >
		,height : ${field.height}
	</#if>
	<#if (field.width??&&field.width > 0) >
		,width : ${field.width}
	</#if>
	
	<#if (field.colspan??&&field.colspan > 1) >
		,colspan : ${field.colspan}
	</#if>
	<#if (field.cls?if_exists!="") >
		,cls : '${field.cls}'
	</#if>
	<#if (field.hidden?if_exists=true) >
		,hidden : true
	</#if>
	<#if (field.hideLabel?if_exists=true) >
		,hideLabel : true
	</#if>
	<#if (field.readOnly?if_exists=true) >
		,readOnly : true
	</#if>
	<#if (field.disabled?if_exists=true) >
		,disabled : true
	</#if>
	<#if (field.allowBlank?if_exists=false) >
		,allowBlank : false
	</#if>
	<#if (field.name?if_exists!="") >
		,valueField : '${field.name}'
		,hiddenName : '${field.name}'
	</#if>
	<#if (field.listWidth??&&field.listWidth > 0) >
		,listWidth : ${field.listWidth}
	</#if>
	<#if (field.arrayvalues?if_exists!="") >
		,store : new Ext.data.SimpleStore({
		fields : [ '${field.name}','<#if (field.displayField?if_exists!="") >${field.displayField }<#else>${field.name}_displayField_text</#if>' ],
		  data : ${field.arrayvalues}
		})
	</#if>			
		,value : '${field.value!}'
		,originalValue :'${field.value!}'
		,mode : 'local'
		,editable :false
		,triggerAction : 'all'
	
	}
</#macro>
